package com.maiji.cloud.request.shopingmall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.HashMap;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class OrderPrintReqData {

    @ApiModelProperty(value="打印信息ID")
    private String uuId;

    @ApiModelProperty(value="用户名")
    private String nickName;

    @ApiModelProperty(value="订单ID")
    private String orderId;

    @ApiModelProperty(value="订单编号")
    private String orderNo;

    @ApiModelProperty(value="订单编号")
    private String orderNoNew;

    @ApiModelProperty(value="物流重量")
    private Integer sendWeight;

    @ApiModelProperty(value="物流重量")
    private String sendWeightStrs;

    @ApiModelProperty(value="订单商品总重(克)")
    private Integer weightTotal;

    @ApiModelProperty(value="分单商品总重(克)")
    private Integer weight;

    @ApiModelProperty(value="收货人")
    private String consignee;

    @ApiModelProperty(value="收货电话")
    private String tel;

    @ApiModelProperty(value="收货地址")
    private String adr;

    @ApiModelProperty(value="电子面单打印数量")
    private Integer count = 1;

    @ApiModelProperty(value="订单状态：默认1-待发货")
    private Integer status = 1;

    @ApiModelProperty(value="运单号")
    private String expressNo;

    @ApiModelProperty(value="快递公司编码")
    private String companyCode;

    @ApiModelProperty(value="快递公司名称")
    private String companyName = "申通快递";

    @ApiModelProperty(value="打印信息")
    private HashMap expressPrintData;

    @ApiModelProperty(value="打印错误信息")
    private String printErrorMsg = "";

    @ApiModelProperty(value="手动增加分单")
    private Boolean manualAdd = false;

    public String getOrderNo2() {
        return orderNo + "；";
    }

}
